﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Wicresoft.UnifyShow.BusinessImpl;
using Quartz;
using Wicresoft.UnifyShow.Utility;

namespace Wicresoft.UnifyShow.PlanServices.Task
{
    public class SyncMoniteDataTask : Basic, IJob
    {
        public void Execute(IJobExecutionContext context)
        {
            Logger.Log("start task sync monite data");

            try
            {
                
                SQLHelper.ExcuteStoreProceduer("USP_SYNCDAILYMONITEDATA", connstr);
            }
            catch (Exception e)
            {
                Logger.Error("task sync monite data:",e);
            }
        }
    }
}
